﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AzureGames.Model.Statistics;

namespace AzureGames.Domain.Services
{
    public class StatisticsService
    {
        Dictionary<int, Model.Statistics.GameStatistics> statistics = new Dictionary<int, GameStatistics>();

        static Func<Dictionary<int, Model.Statistics.GameStatistics>> BuildStatistics =
            () =>
            {
                return new Dictionary<int, GameStatistics>();
            };

        public StatisticsService()
        {
            Task<Dictionary<int, Model.Statistics.GameStatistics>>.Factory.StartNew(BuildStatistics);
        }
    }
}
